package org.edu.modules.stu.zhsz.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import java.sql.Date;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-项目表
 */
@TableName("ve_stu_hygiene_item")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="项目表对象", description="ve_stu_hygiene_item")
public class VeStuHygieneItem extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "项目名称")
    @Length(max = 200)
        private String name;

    @TableField
    @ApiModelProperty(value = "开始时间")
        @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd")
        private Date startTime;

    @TableField
    @ApiModelProperty(value = "结束时间")
        @JsonFormat(timezone="GMT+8",locale="zh",  pattern="yyyy-MM-dd")
        private Date endTime;

    @TableField
    @ApiModelProperty(value = "状态（0：禁用，1：启用）")
        private Integer status;

    @TableField
    @ApiModelProperty(value = "项目负责人")
        private String userId;

    @TableField
    @ApiModelProperty(value = "是否删除（0：否，1：是）")
        private Integer isDelete;
}
